﻿ALTER TABLE [dbo].[SubOrderToOrderDiplom]
    ADD CONSTRAINT [FK_SubOrderToOrderDiplom_OrderDiplom] FOREIGN KEY ([OrderDiplomId]) REFERENCES [dbo].[OrderDiplom] ([id]) ON DELETE CASCADE ON UPDATE CASCADE;



